<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>测试</title>
</head>
<body>
<h1>文件上传案例</h1>
<form action="/file" method="post" enctype="multipart/form-data">
    文件路径<input name="img_url" type="file"><br>
    <input type="submit" value="提交">
</form>
<h2>显示图片</h2>
<button></button>
<h1>删除图片</h1>
<form action="/delete">
    ID:<input name="img_id" type="text">
    <input type="submit">
</form>
</body>
</html>